﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("Goods", "Goods", new string[] { "GOODSID" })]
    [KnownType(typeof(Goods))]
    public class Goods : MB.Orm.Common.BaseModel
    {
        public Goods()
        {
        }

        private int _GOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSID", System.Data.DbType.Int32)]
        public int GOODSID
        {
            get { return _GOODSID; }
            set { _GOODSID = value; }
        }

        private string _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE
        {
            get { return _GOODSCODE; }
            set { _GOODSCODE = value; }
        }

        private string _GOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public string GOODSNAME
        {
            get { return _GOODSNAME; }
            set { _GOODSNAME = value; }
        }
        private int _VENDERID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("VENDERID", System.Data.DbType.Int32)]
        public int VENDERID
        {
            get { return _VENDERID; }
            set { _VENDERID = value; }
        }
    }
}
